Micron Document
baubs git

Node / mirrors / respira / commits / 1517c69

Commit 1517c69595d430248172b79ffad8f01c946f6cfe


Parents : 1cf3d23
Author : Jan-Henrik Bruhn <jan-henrik.bruhn@offis.de>
Date : 2025-12-16T23:04:27+01:00

chore: rename npm tasks with categories

Changes

3 files changed, 11 insertions(+), 11 deletions(-)

M package.json +8 -8

Diff

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1f0da28..0492fc3 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -32,4 +32,4 @@ jobs:
run: npm run test:run
- name: Build application
- run: npm run build
+ run: npm run web:build

diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml
index 9600274..566f6a0 100644
--- a/.github/workflows/draft-release.yml
+++ b/.github/workflows/draft-release.yml
@@ -51,7 +51,7 @@ jobs:
run: npm ci
- name: Build web app
- run: npm run build -- --base=/respira/
+ run: npm run web:build -- --base=/respira/
- name: Create web artifact zip
run: |
@@ -92,7 +92,7 @@ jobs:
run: npm ci
- name: Package and make
- run: npm run make
+ run: npm run electron:make
- name: Upload Windows artifacts
if: matrix.os == 'windows-latest'

diff --git a/package.json b/package.json
index 36ad66d..a177a64 100644
--- a/package.json
+++ b/package.json
@@ -8,18 +8,18 @@
"license": "Apache-2.0",
"main": ".vite/build/main.js",
"scripts": {
- "dev": "vite --host 0.0.0.0",
- "dev:electron": "vite --mode electron",
- "build": "tsc -b && vite build",
"lint": "eslint .",
- "preview": "vite preview",
+ "web:dev": "vite --host 0.0.0.0",
+ "web:preview": "vite preview",
+ "web:build": "tsc -b && vite build",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
- "start": "electron-forge start",
- "package": "electron-forge package",
- "make": "electron-forge make",
- "icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
+ "electron:dev": "vite --mode electron",
+ "electron:start": "electron-forge start",
+ "electron:package": "electron-forge package",
+ "electron:make": "electron-forge make",
+ "electron:icons": "electron-icon-builder --input=./public/icons/icon.png --output=./public -f"
},
"dependencies": {
"@heroicons/react": "^2.2.0",

Served by rngit 1.4.2 - Generated in 0.05s